/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.rs.domain.query;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;

/**
 *
 *
 * @author zsp
 * @date 2022-1-4
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class RecordTemplateByIdQuery {

    /**
     * 记录模板Id
     */
    private Long recordTemplateId;

    private Boolean withGroup;
    private Boolean withItem;

    public Boolean getWithGroup() {
        return Objects.equals(true, withGroup);
    }
    public Boolean getWithItem() {
        return Objects.equals(true, withItem);
    }

}
